﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ParserClasses.Classes
{
    public class StatementList
    {
        private List<Statement> _statements;

        public StatementList()
        {
            _statements = new List<Statement>();
        }
        public List<Statement> GetAll()
        {
           return _statements;
        }

        public void AddStatement(Statement stmt)
        {
            _statements.Add(stmt);
        }
    }
}
